1. An Introduction to Flash andAIR Development on Android
Stephen Chin
Twitter: @steveonjava
http://flash.steveonjava.com/
Oswald Campesato
Twitter: @ocampesato
http://book2-web.com/
4. Adobe Flash
Adobe AIR
Available on Android PhonesToday
Works in the Browser
Limited Access to Device APIs
AIR 2.5 released with Android
Support
Deploys as an Android Market
Application
Gives FullAccess to Device APIs
Update: AIR 2.5.1 ReleasedYesterday!
5. Tool Name Description Supports Android
Development
Adobe Flash CS5 Visual design tool for building Flash
applications with some Actionscript.
Actionscript Via Plug-in
Adobe Flash
Builder 4.5
Professional Flex and Actionscript
development environment.
Flex/MXML,
Actionscript
Preview
Release
(Burrito)
Flex 4.5 SDK Stand-alone development toolkit. Flex,
Actionscript
Preview
Release (Hero)
Adobe Flash
Catalyst
Rapid Development Platform for
building Flex user interfaces.
Flex,
Actionscript
Preview
Release
(Panini)
Device Central Device library and runtime emulation
environment.
N/A Downloaded
Profiles
6.
7. import flash.system.Capabilities;
import flash.ui.Multitouch;
capabilityScroller.capabilities.text =
"Manufacturer: " + Capabilities.manufacturer + "n" +
"OS: " + Capabilities.os + "n" +
"Pixel Aspect Ratio: " + Capabilities.pixelAspectRatio + "n" +
"Player Type: " + Capabilities.playerType + "n" +
"Screen Color: " + Capabilities.screenColor + "n" +
"Screen DPI: " + Capabilities.screenDPI + "n" +
"Screen Resolution: " + Capabilities.screenResolutionX + "x" +
Capabilities.screenResolutionY + "n" +
"Touch Screen Type: " + Capabilities.touchscreenType + "n" +
"Version: " + Capabilities.version + "n" +
"Supports Gesture Events: " + Multitouch.supportsGestureEvents + "n" +
"Supports Touch Events: " + Multitouch.supportsTouchEvents + "n" +
"Input Mode: " + Multitouch.inputMode + "n" +
"Max Touch Points: " + Multitouch.maxTouchPoints + "n" +
"Supported Gestures: " + Multitouch.supportedGestures;
8.
9.
10.
11. Device Name Manufacturer Resolution Size Density Type
T-Mobile G1 HTC 320x480 3.2" 180ppi HVGA
HTC Hero HTC 320x480 3.2" 180ppi HVGA
Motorola Droid Motorola 480x854 3.7" 265ppi FWVGA
Google Nexus One HTC 480x800 3.7" 252ppi WVGA
Xperia X10 Mini Sony Ericsson 240x320 2.55" 157ppi QVGA
Xperia X10 Sony Ericsson 480x854 4" 245ppi WVGA
HTC Evo 4G HTC 480x800 4.3" 217ppi WVGA
Droid X Motorola 480x854 4.3" ? FWVGA
12.
13. Screen Orientation *
Multitouch *
Gestures
Accelerometer
Camera
GPS
* APIs we will show examples of today
32. Stephen Chin,Oswald Campesato, and Dean Iverson
Will Include:
UI Controls
Media Support
Mobile Flex APIs
Android Market
Deployment
Extensive ExamplesComing in Spring 2011
Presentation will be posted at: http://flash.steveonjava.com/